/**
 * 
 */
package com.aibili.pojo;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 活动类型表
 * 
 * @author qiuch
 * 
 */
@Entity
@Table(name = "t_event_type")
public class EventType implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6734740117231616299L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", length = 11, nullable = false)
	private long id;

	@Column(name = "type_name")
	private String type_name;// 分类名字

	@Column(name = "title_json")
	private String title_json;// 标题选项

	@Column(name = "intro_json")
	private String intro_json;// 简介选项

	@Transient
	private List<EventInfo> event_list;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getType_name() {
		return type_name;
	}

	public void setType_name(String type_name) {
		this.type_name = type_name;
	}

	public String getTitle_json() {
		return title_json;
	}

	public void setTitle_json(String title_json) {
		this.title_json = title_json;
	}

	public String getIntro_json() {
		return intro_json;
	}

	public void setIntro_json(String intro_json) {
		this.intro_json = intro_json;
	}

	public List<EventInfo> getEvent_list() {
		return event_list;
	}

	public void setEvent_list(List<EventInfo> event_list) {
		this.event_list = event_list;
	}

}
